class_name Character
extends CharacterBody2D


#region 必要节点
@export_group("必要节点")
@export var data: CharacterData
@export var handle_damage_signals: HandleDamageSignals
@export var center_marker: Marker2D
@export var float_text_marker: Marker2D
#endregion



func center_position() -> Vector2:
    return center_marker.global_position


func float_text_posistion() -> Vector2:
    return float_text_marker.global_position


## virtual (interface)
func be_static(_val: bool) -> void:
    pass


# ## virtual (interface)
# func get_anomaly_detector() -> AnomalyDetector:
#     return null
